package com.ulic.customerManApplication.membermodule.dao;

import java.util.List;

import com.ulic.customerManApplication.membermodule.bo.Member;
import com.ulic.customerManApplication.membermodule.vo.MemberVO;
import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface MemberDao {

	public PagerModel getMembers(int curPage);
	
	public List<Member> getMembers(User user);
	
	public PagerModel getMembers(MemberVO memberVO,int curPage);
	
	public PagerModel getMembers(MemberVO memberVO,int curPage,int totalNum);
	
	public List<Object> getMembers(MemberVO memberVO);
	
	public Member getMember(int id);
	
	public Member getMember(int type,String condition);
	
	public void insertMember(Member member) throws Exception;
	
	public void insertMembers(List<Member> members) throws Exception;
	
	public void deleteMember(Member member) throws Exception;
	
	public void updateMember(Member member) throws Exception;
}
